﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace ProDivingJudge2salmon14
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            NewJudgeForm judge = new NewJudgeForm();
            FormMain form = new FormMain(judge);
            DataManager dm = new DataManager();
            ClientConnection cc = new ClientConnection(dm);

            FormMainPresenter presenter = new FormMainPresenter(form, judge, cc, dm);
            Application.Run(form);
        }
    }
}
